package com.example.petproject.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 包名称：com.example.petproject.config
 * 类名称：AliYunSmsConfig
 * 类描述：阿里云短信配置类
 * 创建人：@author DrinkMore-HotWater
 * 创建时间：2024年01月04日 14:42
 **/
@Configuration
@ConfigurationProperties(prefix = "ali.sms")
public class AliYunSmsConfig {
    private String accessKeyId;

    private String accessKeySecret;

    private String endpoint;

    private String signName;

    private String  captchaTemplateCode;

    private Boolean enable;

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public String getCaptchaTemplateCode() {
        return captchaTemplateCode;
    }

    public void setCaptchaTemplateCode(String captchaTemplateCode) {
        this.captchaTemplateCode = captchaTemplateCode;
    }

    public String getSignName() {
        return signName;
    }

    public void setSignName(String signName) {
        this.signName = signName;
    }

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }
}
